package com.xh.web.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Description TODO
 * @Author Nero
 * @Date 2020/9/9 9:50
 */
public class ColumnVo {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 项目ID */
    private String projectId;

    /** 表ID */
    private String[] tableIds;

    /** 字段code */
    private String columnCode;

    /** 字段名称 */
    private String columnName;

    /** 数据类型 */
    private String dataType;

    /** 长度 */
    private String dLength;

    /** 非空(0:否，1：是。默认0) */
    private String isEmpty;

    /** 是否主键(0:否，1：是。默认0) */
    private String isPrimarykey;

    /** 默认值 */
    private String defaultValue;

    /** 排序 */
    private Long dSort;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateDate;

    /** 删除标记 */
    private String delFlag;

    /** 导出方式 */
    private String exportlayout;


    /** 字段名称 */
    private String tableCode;

    /** 字段名称 */
    private String tableName;

    /** 主键表 */
    private String keyTableCode;

    /** 主键列 */
    private String keyTableColumn;

    private String filePath;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String[] getTableIds() {
        return tableIds;
    }

    public void setTableIds(String[] tableIds) {
        this.tableIds = tableIds;
    }

    public String getColumnCode() {
        return columnCode;
    }

    public void setColumnCode(String columnCode) {
        this.columnCode = columnCode;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getdLength() {
        return dLength;
    }

    public void setdLength(String dLength) {
        this.dLength = dLength;
    }

    public String getIsEmpty() {
        return isEmpty;
    }

    public void setIsEmpty(String isEmpty) {
        this.isEmpty = isEmpty;
    }

    public String getIsPrimarykey() {
        return isPrimarykey;
    }

    public void setIsPrimarykey(String isPrimarykey) {
        this.isPrimarykey = isPrimarykey;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public Long getdSort() {
        return dSort;
    }

    public void setdSort(Long dSort) {
        this.dSort = dSort;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getExportlayout() {
        return exportlayout;
    }

    public void setExportlayout(String exportlayout) {
        this.exportlayout = exportlayout;
    }


    public String getTableCode() {
        return tableCode;
    }

    public void setTableCode(String tableCode) {
        this.tableCode = tableCode;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getKeyTableCode() {
        return keyTableCode;
    }

    public void setKeyTableCode(String keyTableCode) {
        this.keyTableCode = keyTableCode;
    }

    public String getKeyTableColumn() {
        return keyTableColumn;
    }

    public void setKeyTableColumn(String keyTableColumn) {
        this.keyTableColumn = keyTableColumn;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
}
